function T = dynamic_g3_tt(T, y, x, params, steady_state, it_)
% function T = dynamic_g3_tt(T, y, x, params, steady_state, it_)
%
% File created by Dynare Preprocessor from .mod file
%
% Inputs:
%   T             [#temp variables by 1]     double  vector of temporary terms to be filled by function
%   y             [#dynamic variables by 1]  double  vector of endogenous variables in the order stored
%                                                    in M_.lead_lag_incidence; see the Manual
%   x             [nperiods by M_.exo_nbr]   double  matrix of exogenous variables (in declaration order)
%                                                    for all simulation periods
%   steady_state  [M_.endo_nbr by 1]         double  vector of steady state values
%   params        [M_.param_nbr by 1]        double  vector of parameter values in declaration order
%   it_           scalar                     double  time period for exogenous variables for which
%                                                    to evaluate the model
%
% Output:
%   T           [#temp variables by 1]       double  vector of temporary terms
%

assert(length(T) >= 167);

T = model_file.dynamic_g2_tt(T, y, x, params, steady_state, it_);

T(152) = getPowerDeriv(y(120)*exp(y(127)),1-params(3),3);
T(153) = getPowerDeriv(T(7),T(8),3);
T(154) = T(105)*T(50)*T(106);
T(155) = getPowerDeriv(T(12),T(3),3);
T(156) = getPowerDeriv(T(18),T(16),3);
T(157) = (y(7)*y(7)*y(7)*y(7)*(-(2*(-y(32))))-(-((-y(32))*(y(7)+y(7))))*(y(7)*y(7)*(y(7)+y(7))+y(7)*y(7)*(y(7)+y(7))))/(y(7)*y(7)*y(7)*y(7)*y(7)*y(7)*y(7)*y(7));
T(158) = getPowerDeriv(T(18),T(23),3);
T(159) = (T(71)*(-exp(y(123)))-(-exp(y(123)))*T(122))/(T(71)*T(71));
T(160) = (T(71)*T(71)*((-(y(121)*exp(y(123))))*T(71)+T(123)-(T(123)+(-(y(121)*exp(y(123))))*(T(122)+T(122))))-((-(y(121)*exp(y(123))))*T(71)-T(123))*(T(71)*T(122)+T(71)*T(122)))/(T(71)*T(71)*T(71)*T(71));
T(161) = getPowerDeriv(T(34),T(32),3);
T(162) = (y(50)+y(50))/(y(50)*y(50)*y(50)*y(50));
T(163) = getPowerDeriv(T(42),T(43),3);
T(164) = T(150)*T(150);
T(165) = y(10)*(y(2)+y(10)*y(16))+y(10)*(y(2)+y(10)*y(16));
T(166) = T(151)*T(151);
T(167) = y(40)*(y(28)+y(50)*y(40))+y(40)*(y(28)+y(50)*y(40));

end
